﻿using System.Collections.Generic;
public sealed class CMDConfig
{
    public static string REQUEST_ENTRY = "gate.gateHandler.queryEntry";
    public static string REQUEST_LOGIN = "connector.entryHandler.enter";
    public static string OnUserLoginResult = "OnUserLoginResult";
    public static Dictionary<string, string> receiverMap = new Dictionary<string, string>();
    public static void Init()
    {
        // receiverMap[CMDConfig.OnUserLoginResult] = OnUserLoginResult;//处理广播回调
        PomeloManager.GetInstance().RegReceiverMap(receiverMap);
        PomeloManager.GetInstance().RegistMessages(new string[] {
            CMDConfig.OnUserLoginResult
        });
    }
}
